#define _CRT_SECURE_NO_WARNINGS 1
#include"seqlist.h"


void test1()
{
	sl sl1;
	seqlistinit(&sl1);
	seqlistpushback(&sl1, 11);
	seqlistpushback(&sl1, 12);
	seqlistpushback(&sl1, 13);
	seqlistpushback(&sl1, 14);
	seqlistpushback(&sl1, 15);


	seqlistpopback(&sl1, 11);
	seqlistpopback(&sl1, 12);
	seqlistpopback(&sl1, 13);
	seqlistpopback(&sl1, 14);
	seqlistpopback(&sl1, 15);
	seqlistpopback(&sl1, 12);
	seqlistprint(&sl1);
	seqlistdestory(&sl1);
}
void test2()
{
	sl sl1;
	seqlistinit(&sl1);
	seqlistpushback(&sl1, 11);
	seqlistpushback(&sl1, 12);
	seqlistpushback(&sl1, 13);
	seqlistpushback(&sl1, 14);
	seqlistpushback(&sl1, 15);
	seqlistpopfront(&sl1);
	//seqlistpushfront(&sl1, 20);

	seqlistprint(&sl1);
}
int main()
{
	//test1();
	test2();
	return 0;
}